<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <a :href="url" >百度</a>
    {{ html1 }}
    <!-- // document.getElementById("").innerHTML   -->
    <div v-html="html1"></div>
    <div v-text="html1"></div>
  </div>
  </body>
</html>
<!-- M  V  VM -->
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script>
  
  const app = Vue.createApp({   
    data() { //  定义对象的属性
      return {
         html1:'<h1>abc</h1>',
         url:'http://www.baidu.com'
      };
    },
  });
  app.mount("#app");
</script>
